<template>
  <nut-input
    :model-value="value"
    :placeholder="placeholder"
    @update:model-value="(v) => emit('update:value', v)"
  ></nut-input>
</template>
<script lang="ts" setup>
interface Props {
  /**绑定值 */
  value: string;
  /**占位文本 */
  placeholder?: string;
  /**禁用 */
  disabled?: boolean;
}
defineProps<Props>();
const emit = defineEmits(["update:value"]);
</script>
